<?php
namespace Home\Controller;
use Think\Controller;
class AboutController extends Controller {
   public function about(){
   		$nav=M('nav')->select();
        $this->assign('nav',$nav);
        $logo=M('config')->where("con_title='logo'")->find();
        $this->assign('logo',$logo);
        $banner=M('banner')->where("banner_position=2 and banner_title='品牌故事'")->select();
        $this->assign('banner',$banner);
        $banner1=M('banner')->where("banner_position=2 and banner_title='简介'")->select();
        $this->assign('banner1',$banner1);
        $page=M('page')->where("page_name='关于我们1'")->find();
        $this->assign('page',$page);
        $icp=M('config')->where("con_title='备案号'")->find();
        $this->assign('icp',$icp);
        $this->display();
   }
}